<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>购物车</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="css/mui.min.css">
		<link rel="stylesheet" type="text/css" href="fonts/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="css/common.css" />
		<link rel="stylesheet" type="text/css" href="css/cart.css" />
		<style>
			#topPopover{ position: fixed; top: 56px !important; right: 6px;}
			#topPopover .mui-popover-arrow{ left: auto; right: 6px;}
			.mui-popover{ height: 170px;}

		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav bg_fff">
			<a class="mui-icon iconfont icon-fanhui mui-pull-left" href="javascript:history.back();void(0)"></a>
			<h1 class="mui-title">购物车</h1>
			<a id="menu" class=" mui-icon iconfont icon-zhankai mui-pull-right" href="#topPopover"></a>
		</header>
		<!--右上角弹出菜单-->
		<div id="topPopover" class="mui-popover">
			<div class="mui-popover-arrow"></div>
			<div class="mui-scroll-wrapper">
				<div class="mui-scroll">
					<ul class="mui-table-view">
						<li class="mui-table-view-cell">
							<a href="index.html"><i class="iconfont icon-shouye"></i>首页</a>
						</li>
						<li class="mui-table-view-cell">
							<a href="category.html"><i class="iconfont icon-icon04"></i>分类搜索</a>
						</li>
						<li class="mui-table-view-cell">
							<a href="cart.html"><i class="iconfont icon-gouwuche"></i>购物车</a>
						</li>
						<li class="mui-table-view-cell">
							<a href="member_index.html"><i class="iconfont icon-wode"></i>会员中心</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<nav class="mui-bar mui-bar-tab" style="display: none;">
			<a class="mui-tab-item" href="index.html">
				<span class="mui-icon iconfont icon-shouye"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a class="mui-tab-item" href="category.html">
				<span class="mui-icon iconfont icon-icon04"></span>
				<span class="mui-tab-label">分类</span>
			</a>
			<a class="mui-tab-item mui-active" href="cart.html">
				<span class="mui-icon iconfont icon-gouwuche"><span class="mui-badge">9</span></span>
				<span class="mui-tab-label">购物车</span>
			</a>
			<a class="mui-tab-item" href="member_index.html">
				<span class="mui-icon iconfont icon-wode"></span>
				<span class="mui-tab-label">我的</span>
			</a>
		</nav>
		<div class="mui-content">
			<div class="login-tit">
				登录后可同步电脑与手机购物车中的商品
				<a href="" class="login_btn">登录</a>
			</div>
			<div class="card-title mui-input-row mui-checkbox mui-left">
				<input name="checkbox" value="Item 1" type="checkbox"><label>JD 京东自营</label>
			</div>
			<ul id="OA_task" class="mui-table-view card-view mb10" style="border-bottom: 1px solid #ddd;">
				<li class="mui-table-view-cell mui-media">
					<div class="mui-slider-right mui-disabled">
						<a class="mui-btn mui-btn-red">删除</a>
					</div>
					<div class="mui-slider-handle">
						<div class="mui-checkbox card-left">
							<input name="checkbox" value="Item 1" type="checkbox">
						</div>
						<a href="goods_detail.html">
							<div class="card-right">
								<img class="mui-media-object mui-pull-left" src="images/scart/pic1.jpg">
								<div class="mui-media-body">
									<p class="mui-ellipsis-2 tit">卡夫威尔（OK-TOOLS）WR5026H 可调套筒棘轮扳手6-22mm</p>
									<div class="actions"><span class="red">￥2678.00</span>
										<div class="mui-numbox" data-numbox-min="0">
											<button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
											<input class="mui-input-numbox" type="number">
											<button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
										</div>
									</div>
									<p class="gift"><b class="orange">[赠品] </b><em class="grey-9">免费高清膜 三星 S7 edge </em></p>
									<div class="jiuji-service">
										<span>
				                        <i></i>延长保修 <em>￥49.00</em>
				                    </span>
										<span>
				                        <i></i>意外保 <em></em>￥199.00</span>
										</span>
									</div>
								</div>
							</div>
						</a>
					</div>
				</li>
				<li class="mui-table-view-cell mui-media">
					<div class="mui-slider-right mui-disabled">
						<a class="mui-btn mui-btn-red">删除</a>
					</div>
					<div class="mui-slider-handle">
						<div class=" mui-checkbox card-left">
							<input name="checkbox" value="Item 1" type="checkbox">
						</div>
						<a href="javascript:;">
							<div class="card-right">
								<img class="mui-media-object mui-pull-left" src="images/scart/pic1.jpg">
								<div class="mui-media-body">
									<p class="mui-ellipsis-2 tit">卡夫威尔（OK-TOOLS）WR5026H 可调套筒棘轮扳手6-22mm</p>
									<div class="actions"><span class="red">￥2678.00</span>
										<div class="mui-numbox" data-numbox-min="0">
											<button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
											<input class="mui-input-numbox" type="number">
											<button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
										</div>
									</div>
								</div>
							</div>
						</a>
					</div>
				</li>
				<li class="mui-table-view-cell mui-media">
					<div class="mui-slider-right mui-disabled">
						<a class="mui-btn mui-btn-red">删除</a>
					</div>
					<div class="mui-slider-handle">
						<div class=" mui-checkbox card-left">
							<input name="checkbox" value="Item 1" type="checkbox">
						</div>
						<a href="javascript:;">
							<div class="card-right">
								<img class="mui-media-object mui-pull-left" src="images/scart/pic1.jpg">
								<div class="mui-media-body">
									<p class="mui-ellipsis-2 tit">卡夫威尔（OK-TOOLS）WR5026H 可调套筒棘轮扳手6-22mm</p>
									<div class="actions"><span class="red">￥2678.00</span>
										<div class="mui-numbox" data-numbox-min="0">
											<button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
											<input class="mui-input-numbox" type="number">
											<button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
										</div>
									</div>
								</div>
							</div>
						</a>
					</div>
				</li>
				<li class="mui-table-view-cell mui-media">
					<div class="mui-slider-right mui-disabled">
						<a class="mui-btn mui-btn-red">删除</a>
					</div>
					<div class="mui-slider-handle">
						<div class=" mui-checkbox card-left">
							<input name="checkbox" value="Item 1" type="checkbox">
						</div>
						<a href="javascript:;">
							<div class="card-right">
								<img class="mui-media-object mui-pull-left" src="images/scart/pic1.jpg">
								<div class="mui-media-body">
									<p class="mui-ellipsis-2 tit">卡夫威尔（OK-TOOLS）WR5026H 可调套筒棘轮扳手6-22mm</p>
									<div class="actions"><span class="red">￥2678.00</span>
										<div class="mui-numbox" data-numbox-min="0">
											<button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
											<input class="mui-input-numbox" type="number">
											<button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
										</div>
									</div>
								</div>
							</div>
						</a>
					</div>
				</li>
			</ul>
			<ul class="mui-table-view tuijian">
				<li class="color_default">
					<div class=" mui-checkbox card-left">
						<input name="checkbox" value="Item 1" type="checkbox">
					</div>
					<span>羽博（YOOBAO） P10000聚合物Lightning 苹果/安卓接口移动电源 10000mAh苹果接口充电宝</span>
					<em>119元</em><i class="border-left">选色</i>
				</li>
				<li class="color_sel">
					<div class=" mui-checkbox card-left">
						<input name="checkbox" value="Item 1" type="checkbox">
					</div>
					<span>羽博（YOOBAO） P10000聚合物Lightning 苹果/安卓接口移动电源 10000mAh苹果接口充电宝</span>
					<em>119元</em><i class="border-left">选色</i>
				</li>
				<li class="color_sel">
					<div class=" mui-checkbox card-left">
						<input name="checkbox" value="Item 1" type="checkbox">
					</div>
					<span>羽博（YOOBAO） P10000聚合物Lightning 苹果/安卓接口移动电源 10000mAh苹果接口充电宝</span>
					<em>119元</em><i class="border-left">选色</i>
				</li>
			</ul>

		</div>
		<div class="cart-tmpl-box">
			<div class="relative">
				<label class="absolute radio-box" style="left:32px; top:15px;"><div class=" mui-checkbox card-left">
						<input name="checkbox" value="Item 1" type="checkbox" style="left: -24px;top: 0;">
					</div> 全选</label>
				<div class="js-status">
					<div class="cart_btn">
						<p><em>总计：</em><b class="orange" data-price="1150" style="font-size:14px;">￥13886</b></p>
						<p class="grey-9">您选择了<b class="orange"> 7 </b>件商品</p>
					</div>
					<div class="operation absolute">
						<a href="javascript:;" onclick="edit(1)" class="edit orange-yellow-bg" style="width:44%">编辑</a>
						<a href="javascript:;" onclick="statement()" class="jsbtn orange-bg" style="width:56%">去结算</a>
					</div>
				</div>
				<div class="edit-status right" style="display:none;">
					<a href="javascript:;" class="orange-yellow-bg">移入收藏</a>
					<a href="javascript:;" class="light-red-bg">删除</a>
					<a href="javascript:;" onclick="edit(0)" class="light-blue-bg">完成</a>
				</div>
			</div>
		</div>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script src="js/mui.min.js"></script>
		<script type="text/javascript" charset="utf-8">
			mui.init();

			mui('body:not(".mui-btn")').on('tap', 'a', function() {
				document.location.href = this.href;
			});
			
			mui('body .mui-slider-handle,nav').on('tap', 'a', function() {
				document.location.href = this.href;
			});

			(function($) {
				$('#OA_task').on('tap', '.mui-btn', function(event) {
					var elem = this;
					var li = elem.parentNode.parentNode;
					mui.confirm('确认删除该条记录？', '删除提示', btnArray, function(e) {
						if(e.index == 0) {
							li.parentNode.removeChild(li);
						} else {
							setTimeout(function() {
								$.swipeoutClose(li);
							}, 0);
						}
					});
				});
				var btnArray = ['确认', '取消'];
			})(mui);
		</script>
	</body>

</html>